package day04;

public class WhileDemo {
    public static void main(String[] args) {
        int i = 0;
        while (i < 5) {
            System.out.println("行动是成功的阶梯");
            i++;
        }
        int j = 1;
        while (j <= 9) {
            int k = j;
            while (k <= 9) {
                System.out.print(j + "×" + k + "=" + j * k + " ");
                k++;
            }
            System.out.println();
            j++;
        }

    }
}
